package GUI;

public class StorePopup extends javax.swing.JFrame {

    public StorePopup() {
        initComponents();
    }

    private void initComponents() {

        container = new javax.swing.JPanel();
        content = new javax.swing.JPanel();
        nomLocal = new javax.swing.JTextField();
        idLocalLabel = new javax.swing.JLabel();
        idLocal = new javax.swing.JLabel();
        nomLocalLabel = new javax.swing.JLabel();
        dirLocalLabel = new javax.swing.JLabel();
        dirLocal = new javax.swing.JTextField();
        telLocalLabel = new javax.swing.JLabel();
        telLocal = new javax.swing.JTextField();
        productSave = new javax.swing.JButton();
        provincia = new javax.swing.JComboBox();
        cantonLabel = new javax.swing.JLabel();
        provinciaLabel = new javax.swing.JLabel();
        canton = new javax.swing.JComboBox();
        distritoLabel = new javax.swing.JLabel();
        distrito = new javax.swing.JComboBox();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Articulo");

        container.setBackground(new java.awt.Color(255, 0, 0));

        content.setBackground(new java.awt.Color(246, 191, 191));

        nomLocal.setText("Mall San Pedro");
        nomLocal.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                nomLocalActionPerformed(evt);
            }
        });

        idLocalLabel.setFont(new java.awt.Font("Open Sans", 1, 14)); // NOI18N
        idLocalLabel.setText("ID:");

        idLocal.setText("928r1r12");

        nomLocalLabel.setFont(new java.awt.Font("Open Sans", 1, 14)); // NOI18N
        nomLocalLabel.setText("Nombre:");

        dirLocalLabel.setFont(new java.awt.Font("Open Sans", 1, 18)); // NOI18N
        dirLocalLabel.setText("Direccion:");

        dirLocal.setText("Local verde, tercer piso");
        dirLocal.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                dirLocalActionPerformed(evt);
            }
        });

        telLocalLabel.setFont(new java.awt.Font("Open Sans", 1, 18)); // NOI18N
        telLocalLabel.setText("Tel:");

        telLocal.setText("88311313");

        productSave.setText("Save");
        productSave.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                productSaveActionPerformed(evt);
            }
        });

        provincia.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        cantonLabel.setFont(new java.awt.Font("Open Sans", 1, 14));
        cantonLabel.setText("Canton");

        provinciaLabel.setFont(new java.awt.Font("Open Sans", 1, 14));
        provinciaLabel.setText("Provincia");

        canton.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        distritoLabel.setFont(new java.awt.Font("Open Sans", 1, 14));
        distritoLabel.setText("Distrito");

        distrito.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        javax.swing.GroupLayout contentLayout = new javax.swing.GroupLayout(content);
        content.setLayout(contentLayout);
        contentLayout.setHorizontalGroup(
            contentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(contentLayout.createSequentialGroup()
                .addGap(15, 15, 15)
                .addGroup(contentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addGroup(contentLayout.createSequentialGroup()
                        .addComponent(provincia, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(canton, javax.swing.GroupLayout.PREFERRED_SIZE, 121, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(distrito, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(contentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(dirLocalLabel)
                        .addGroup(contentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(dirLocal, javax.swing.GroupLayout.PREFERRED_SIZE, 354, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(contentLayout.createSequentialGroup()
                                .addComponent(telLocalLabel)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(telLocal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(productSave))))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, contentLayout.createSequentialGroup()
                        .addGroup(contentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(contentLayout.createSequentialGroup()
                                .addComponent(idLocalLabel)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(idLocal))
                            .addComponent(provinciaLabel))
                        .addGroup(contentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(contentLayout.createSequentialGroup()
                                .addGap(33, 33, 33)
                                .addComponent(nomLocalLabel)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(nomLocal)
                                .addGap(18, 18, 18))
                            .addGroup(contentLayout.createSequentialGroup()
                                .addGap(66, 66, 66)
                                .addComponent(cantonLabel)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(distritoLabel)
                                .addGap(33, 33, 33)))))
                .addContainerGap(19, Short.MAX_VALUE))
        );
        contentLayout.setVerticalGroup(
            contentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(contentLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(contentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(idLocalLabel)
                    .addComponent(idLocal)
                    .addComponent(nomLocalLabel)
                    .addComponent(nomLocal, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(contentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(provinciaLabel)
                    .addComponent(cantonLabel)
                    .addComponent(distritoLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(contentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(provincia, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(canton, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(distrito, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(dirLocalLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(dirLocal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(contentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(telLocalLabel)
                    .addComponent(telLocal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(productSave)))
        );

        javax.swing.GroupLayout containerLayout = new javax.swing.GroupLayout(container);
        container.setLayout(containerLayout);
        containerLayout.setHorizontalGroup(
            containerLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, containerLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(content, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        containerLayout.setVerticalGroup(
            containerLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(containerLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(content, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(container, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(container, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
    }
    
    //TODO Action Listeners
    private void nomLocalActionPerformed(java.awt.event.ActionEvent evt) {
    }

    private void dirLocalActionPerformed(java.awt.event.ActionEvent evt) {
    	
    }

    private void productSaveActionPerformed(java.awt.event.ActionEvent evt) {
    }

   

    // TODO Var declare
    private javax.swing.JComboBox canton;
    private javax.swing.JLabel cantonLabel;
    private javax.swing.JPanel container;
    private javax.swing.JPanel content;
    private javax.swing.JTextField dirLocal;
    private javax.swing.JLabel dirLocalLabel;
    private javax.swing.JComboBox distrito;
    private javax.swing.JLabel distritoLabel;
    private javax.swing.JLabel idLocal;
    private javax.swing.JLabel idLocalLabel;
    private javax.swing.JTextField nomLocal;
    private javax.swing.JLabel nomLocalLabel;
    private javax.swing.JButton productSave;
    private javax.swing.JComboBox provincia;
    private javax.swing.JLabel provinciaLabel;
    private javax.swing.JTextField telLocal;
    private javax.swing.JLabel telLocalLabel;
    // End of variables declaration//GEN-END:variables
}
